/**
* 动画的样式定义
*/ 

/*动画-渐显*/
.dam-animate_fade-in {
  -webkit-animation: damFadeIn ease .5s forwards;
  animation: damFadeIn ease .5s forwards;
}

/*动画-渐隐*/
.dam-animate_fade-out {
  -webkit-animation: damFadeOut ease .5s forwards;
  animation: damFadeOut ease .5s forwards;
}

/* -------------------背景渐变------------------ */

@-webkit-keyframes damFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes damFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    visibility: visible;
  }
}


@-webkit-keyframes damFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes damFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}